home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games 1996 July / Amiga Games 1996 #7.iso / userbox / publicdomain / centerwindows / install < prev    next >
Text File  |  1995-12-19  |  933b  |  45 lines

  1. ;***** CenterWindows Installation Script
  2.  
  3. (transcript "Installing CenterWindows...")
  4. (set @default-dest "SYS:WBStartup/")
  5.  
  6. ;***** Introduction
  7. (complete 0)
  8.  
  9. ;***** Destination Directory Selection & Creation
  10. (set msg "Please select a place for \"CenterWindows\".")
  11.  
  12. (set destination
  13.     (askdir
  14.         (prompt msg)
  15.         (help (cat("Select the directory, where CenterWindows should be copied. If you choose SYS:WBStartup, which is the default. CenterWindows will be activated, whenever you start your Amiga." @askdir-help)))
  16.         (default @default-dest)
  17.     )
  18. )
  19. (complete 10)
  20.  
  21. ;***** Copy patch.library
  22. (copyfiles
  23.     (source "CenterWindows")
  24.     (dest destination)
  25.     (help @copyfiles-help)
  26.     (infos)
  27. )
  28. (complete 50)
  29.  
  30. ;***** Copy patch.library
  31. (copylib
  32.     (source "libs/patch.library")
  33.     (dest "LIBS:")
  34.     (help @copylib-help)
  35. )
  36. ;(complete 90)
  37.  
  38. ;***** run CenterWindows
  39. ;(run (cat(destination "CenterWindows"))
  40. ;    (help @run-help)
  41. ;)
  42.  
  43. ;***** Finished
  44. (complete 100)
  45.